<?php

class ShellAction extends BaseAction {

    public function __construct($actionName, $cmd) {
   		parent::__construct($actionName, $cmd);       
    }

    public function execute(ezcWorkflowExecution $execution) {
    	$runtime = getenv('RUNTIME');
    	$this->cmd = "sh $runtime/bin/{$this->cmd}";
 		return parent::execute($execution);
    }
}
